package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店对象 base_shop
 * 
 * @author ruoyi
 * @date 2025-01-16
 */
public class BaseShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 门店id */
    private Long shopId;

    /** 门店代码 */
    @Excel(name = "门店代码")
    private String shopCode;

    /** 门店名称 */
    @Excel(name = "门店名称")
    private String shopName;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linker;

    /** 经营业态 */
    @Excel(name = "经营业态")
    private String businessType;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inputDate;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopCode(String shopCode) 
    {
        this.shopCode = shopCode;
    }

    public String getShopCode() 
    {
        return shopCode;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setLinker(String linker) 
    {
        this.linker = linker;
    }

    public String getLinker() 
    {
        return linker;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setInputDate(Date inputDate) 
    {
        this.inputDate = inputDate;
    }

    public Date getInputDate() 
    {
        return inputDate;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("shopCode", getShopCode())
            .append("shopName", getShopName())
            .append("addr", getAddr())
            .append("tel", getTel())
            .append("linker", getLinker())
            .append("businessType", getBusinessType())
            .append("inputDate", getInputDate())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
